import request from '@/utils/request'

export function getWareTypeList(data) {
  return request({
    url: '/Admin/WareType/GetWareTypeList',
    method: 'post',
    data
  })
}

export function addWareType(data) {
  return request({
    url: '/Admin/WareType/AddWareType',
    method: 'post',
    data
  })
}

export function deleteWareType(data) {
  return request({
    url: '/Admin/WareType/DeleteWareType',
    method: 'post',
    data
  })
}

export function updateWareType(data) {
  return request({
    url: '/Admin/WareType/UpdateWareType',
    method: 'post',
    data
  })
}